package com.itheima.pojo;

import java.io.Serializable;
import java.util.List;

public class Intervention implements Serializable {
    private List<Food> foods;
    private List<Pill> pills;
    private List<Sport> sports;
    private String report;
    private String advise;

    public Intervention(List<Food> foods, List<Pill> pills, List<Sport> sports, String report, String advise) {
        this.foods = foods;
        this.pills = pills;
        this.sports = sports;
        this.report = report;
        this.advise = advise;
    }

    public Intervention() {
    }

    public List<Food> getFoods() {
        return foods;
    }

    public void setFoods(List<Food> foods) {
        this.foods = foods;
    }

    public List<Pill> getPills() {
        return pills;
    }

    public void setPills(List<Pill> pills) {
        this.pills = pills;
    }

    public List<Sport> getSports() {
        return sports;
    }

    public void setSports(List<Sport> sports) {
        this.sports = sports;
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    public String getAdvise() {
        return advise;
    }

    public void setAdvise(String advise) {
        this.advise = advise;
    }

    @Override
    public String toString() {
        return "Intervention{" +
                "foods=" + foods +
                ", pills=" + pills +
                ", sports=" + sports +
                ", report='" + report + '\'' +
                ", advise='" + advise + '\'' +
                '}';
    }
}
